/**
 * 
 *@author Rubern
 */

package JavaAssignment;

import java.io.*;
public class ShoppingCart implements Serializable{
    String gameName;
    double gamePrice;
    double quantity;
    double totalGamePrice;

    public ShoppingCart(){
        gameName = "";
        gamePrice =0;
        quantity = 0;
        totalGamePrice = 0;
    }
    
    public ShoppingCart(String gameName, double gamePrice, double quantity, double totalGamePrice){
        this.gameName = gameName;
        this.gamePrice= gamePrice;
        this.quantity = quantity;
        this.totalGamePrice = totalGamePrice;
    }

    public String getshopGN(){
        return gameName;
    }

    public void setshopGN(String gameName){
        this.gameName = gameName;
    }

    public void setshopGP(double gamePrice){
        this.gamePrice = gamePrice;
    }

    public double getshopGP(){
        return gamePrice;
    }

    public void setshopQTY(double qty){
        this.quantity = qty;
    }

    public double getshopQTY(){
        return quantity;
    }

    public void setshopTTG(double ttg){
        this.totalGamePrice = ttg;

    }
    public double getshopTTG(){
        return totalGamePrice;
    }


}
